package ${javaEntityPackageName};

import java.io.Serializable;
<#list importTypeList as typeString>
${typeString}
</#list>
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * ${mysqlTableAlias}
<#if mysqlTableComment != "">
 * <p>
 * ${mysqlTableComment}
 * </p>
</#if>
 *
 * @author admin
 */
@AllArgsConstructor
@Builder
@Data
@EqualsAndHashCode
@NoArgsConstructor
@ToString
public class ${javaPascalName}Entity implements Serializable {

	private static final long serialVersionUID = 1L;
	<#list columnList as column>

	/**
	 <#if column.mysqlColumnComment != "">
	 * ${column.mysqlColumnName}: ${column.mysqlColumnComment}
	 <#else>
	 * ${column.mysqlColumnName}
	 </#if>
	 */
    private ${column.javaType} ${column.javaCamelName};
	</#list>
    
	<#list columnList as column>
	/**
	 * ${mysqlTableAlias}
	 * <p>
	 <#if column.mysqlColumnComment != "">
	 * ${column.mysqlColumnName}: ${column.mysqlColumnComment}
	 <#else>
	 * ${column.mysqlColumnName}
	 </#if>
	 * </p>
	 */
    public static final String COLUMN_${column.mysqlColumnNameUpperCase} = "${column.mysqlColumnName}";
	</#list>
}